package com.example.tool.erp.sdk.api.aftersales;

import com.example.tool.erp.sdk.Pager;
import com.example.tool.erp.sdk.WdtErpException;
import com.example.tool.erp.sdk.api.aftersales.dto.RefundSearchHistoryRequest;
import com.example.tool.erp.sdk.api.aftersales.dto.RefundSearchHistoryResponse;
import com.example.tool.erp.sdk.api.aftersales.dto.RefundSearchRequest;
import com.example.tool.erp.sdk.api.aftersales.dto.RefundSearchResponse;
import com.example.tool.erp.sdk.impl.Api;

public interface RefundAPI
{
	@Api(value = "aftersales.refund.Refund.search", paged = true)
	RefundSearchResponse search(RefundSearchRequest request, Pager pager);

	@Api(value = "aftersales.refund.Refund.searchHistory", paged = true)
	RefundSearchHistoryResponse searchHistory(RefundSearchHistoryRequest request, Pager pager) throws WdtErpException;
}
